<%-- 
    Document   : StaffRegister
    Created on : Nov 20, 2012, 2:27:28 AM
    Author     : Thanh
--%>

<%@page import="data.UserDAL"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link href="css/modern.css" rel="stylesheet">
        <!--   <link REL=StyleSheet HREF="style/style.css" TYPE="text/css" MEDIA=screen> -->
        <link href="css/modern-responsive.css" rel="stylesheet">
        <!-- <link href="css/theme-dark.css" rel="stylesheet"> -->
        <SCRIPT language=javascript src="css/producttooltip.js" type=text/javascript></SCRIPT>
    </head>
    <body>
        <%
        String username = request.getParameter("username");
        String password = request.getParameter("password");
        String gender = request.getParameter("gender");
        String tel = request.getParameter("tel");
        String address = request.getParameter("address");
        String fullName = request.getParameter("fullName");
        String nationality = request.getParameter("nationality");
        UserDAL.insert(username, password, gender, "Staff", fullName, tel, address, "0", nationality);
        %>
        <h1>Register successful</h1>
    </body>
</html>
